<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>打印报价单</title>
<%@ include file="/page/pc/include.jsp"%>

<%--已筛选条件的优化 --%>
<style type="text/css">
	ul li{vertical-align:top;padding-bottom:  10px;}
</style>
</head>
<body style="background:#ffffff;">
	<div class="wrap">
		<jsp:include page="../_my_header.jsp" />
		<div class="site_wrap18">
			<div class="site_wrap18_con">
				<div class="main">
					<jsp:include page="../_my_left.jsp" />
					<div class="rightitem">
						<div class="wdjf_part">
						
						<!-- 商品 -->
						<div class="bj_part">
							<input type="hidden"  id="categoryIds" name="categoryIds" value="${categoryIds}"/>
							<input type="hidden"  id="parentCategoryId" name="parentCategoryId" value="${parentCategoryId}"/>
							<input type="hidden"  id="categoryPath" name="categoryPath" value="${categoryPath}"/>
							<div class="search_condition" style="margin-bottom:0px;padding:5px 0;margin-top:-15px;">
								<div class="right" style="margin-right:8px;margin-bottom:0px;">
									<div class="xl_nav">
										<p>
											<a id="btnPrintQuotation" href="javascript:;">打印</a>
										</p>
									</div>
								</div>
							</div>
							<div class="bj_part_con" id="quotationArea">
                    			<table>
                        			<thead>
                            			<tr>
                                			<td>序号</td>
                                		    <td>编码</td>
                                		    <!-- <td>商品图片</td> -->
                                		    <td style="width:422px">商品名称</td>
                                		    <td style="width:140px">价格</td>
										</tr>
									</thead>
                            		<tbody>
										<c:forEach items="${productList}" var="product" varStatus="status">
                            			<tr>
											<td style="width:50px;">${status.index +1 }</td>
											<td style="width:100px;">${product.productCode }</td>
											<%-- <td>
												<img src="${imgRootURL}${product.mainImagePath}?x-oss-process=image/resize,h_100/format,png" class="bjpic" />
											</td> --%>
											<td style="text-align:left;">
												<a href="${rootPath}/pc/product/detail?productId=${product.id}" target="_Blank">
													<!-- <i>
														<img src="images/icon_fav4.jpg" class="favicon" />
													</i> -->
													${product.productName }
												</a>
											</td>
											<td>
												<b>¥<fmt:formatNumber type="number" value="${product.basePrice }" pattern="0.00" /><em></em></b>
											</td>
										</tr>
										</c:forEach>
									</tbody>
								</table>
							</div>
						</div>
						<!-- 商品结束 -->
					</div>
				</div>
			</div>
		</div>
	</div>

	<div>
		<!---网站底部开始-->
		<jsp:include page="../../footer.jsp?showQaFlag=0" />
		<!---网站底部结束-->
	</div>
	<script type="text/javascript"  src="${rootPath }/statics/js/jquery-migrate-1.1.0.js"></script>
	<script type="text/javascript" src="${rootPath }/statics/js/jquery.jqprint-0.3.js"></script>
	<script type="text/javascript">
		$(function(){
			/* $("#btnPrintQuotation").on("click", function(){
				$("#quotationArea").jqprint();
			}) */
			$("#quotationArea").jqprint();
		})
	</script>
</body>
</html>